﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PatchManage.aspx.cs" Inherits="Whir_System_Module_Patch_PatchManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        最新功能模块<br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand">
            <Columns>
                <asp:BoundField DataField="packType" HeaderText="类型" />
                <asp:BoundField DataField="packName" HeaderText="功能模块名称" />
                <asp:BoundField DataField="version" HeaderText="版本" />
                <asp:BoundField DataField="frameWorkVersion" HeaderText="所属框架版本" />
                <asp:BoundField DataField="createDate" HeaderText="更新时间" />
                <asp:BoundField DataField="content" HeaderText="描述" />
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# ((Patch.PackModel)Container.DataItem).packID %>'
                            CommandName="down">更新</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle CssClass="grid_td" />
            <HeaderStyle CssClass="grid_Title" />
        </asp:GridView>
        <br />
        最新模块
        <br />
        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound">
            <Columns>
                <asp:BoundField DataField="packType" HeaderText="类型" />
                <asp:BoundField DataField="packName" HeaderText="更新包名称" />
                <asp:BoundField DataField="version" HeaderText="版本" />
                <asp:BoundField DataField="frameWorkVersion" HeaderText="所属框架版本" />
                <asp:BoundField DataField="createDate" HeaderText="更新时间" />
                <asp:BoundField DataField="content" HeaderText="描述" />
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CommandName="down" CommandArgument='<%# ((Patch.PackModel)Container.DataItem).packID %>'>更新</asp:LinkButton>
                        <asp:Label ID="Label1" runat="server" Visible="False"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle CssClass="grid_td" />
            <HeaderStyle CssClass="grid_Title" />
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
